import Vue from 'vue';
import Router from 'vue-router';
import MGoods from 'components/m-goods/m-goods';
import MRatings from 'components/m-ratings/m-ratings';
import MSeller from 'components/m-seller/m-seller';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/goods'
    }, {
      path: '/goods',
      component: MGoods
    }, {
      path: '/ratings',
      component: MRatings
    }, {
      path: '/seller',
      component: MSeller
    }
  ],
  linkActiveClass: 'active'
});
